package com.ficus.road.maintain.core.model.smartnew;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiawen yang
 * @date 2022/3/2 下午2:42
 */
@Data
@NoArgsConstructor
public class SmartRankTable extends SmartRoadSection {
    // 大类（第一~第五大类）
    protected String bigType;

    public SmartRankTable(SmartRoadSection sec, String bigType) {
        roadName = sec.getRoadName();
        roadSecName = sec.getRoadSecName();
        roadType = sec.getRoadType();
        roadCharacter = sec.getRoadCharacter();
        level = sec.getLevel();
        source = sec.getSource();
        this.bigType = bigType;
        PCI = sec.getPCI();
        PciDetails = sec.getPciDetails();
        RQI = sec.getRQI();
        RqiDetails = sec.getRqiDetails();
        RDI = sec.getRDI();
        RdiDetails = sec.getRdiDetails();
        PSSI = sec.getPSSI();
        area = sec.getArea();
    }
}
